package com.hksj.Intelligentmanagement.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @Author zengke
 * @ClassName MqttEntity
 * @Date 2023/3/24 10:58
 * @Version 1.0
 * @Description TODO
 */

@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel
@TableName("mqtt_auth")
public class MqttAuthEntity extends BaseEntity{

    //客户端id
    @ApiModelProperty("客户端id")
    private String clientId;

    //用户名
    @ApiModelProperty("用户名")
    private String username;

    //密码
    @ApiModelProperty("密码")
    private String password;

    //备注
    @ApiModelProperty("备注")
    private String description;

    //逻辑删除
    @ApiModelProperty("逻辑删除")
    @TableLogic
    @TableField(fill = FieldFill.INSERT)
    private Integer delFlag;

}
